package com.crl.game.simulation.client
{
	import com.crl.game.simulation.common.BaseSimulation;
	import com.crl.game.simulation.common.event.SimulationEvent;
	
	/**
	 * 客户端仿真环境 
	 * @author crl
	 * 
	 */	
	public class ClientSimulation extends BaseSimulation
	{
		public function ClientSimulation()
		{
			super();
		}
		
		public function recetiveSimulationEvent(event:SimulationEvent):void{
			var actor:ActorProxy=actorManager.get(event.sourceID) as ActorProxy;
			if(actor==null){
				actor=sobFactory.create(1);
				actorManager.set(actor.id,actor);
			}
			actor.recieveEvent(event);
		}
	}
}